import {IS_FOR_WX} from "../../AppConfig";

if (cc.sys.platform === cc.sys.WECHAT_GAME && IS_FOR_WX) {
  require('./ald/ald-game.js');
  let init = require("./WechatInit");
  let bannerAd = require("./WechatBannerAd");
  let videoAd = require("./WechatVideoAd");
  let interstitialAd = require("./WechatInterstitialAd");
  let vibrate = require("./WechatVibrate");
  let aldLog = require("./WechatAldLog");
  let shareToFriends = require("./WechatShareToFriends");
  let loginAndAuthorize = require("./WechatLoginAndAuthorize");
  let misc = require("./WechatMisc");
  let subdomain = require("./WechatSubdomain");
  let gameBanner = require("./WechatGameBanner");
  let gameIcon = require("./WechatGameIcon");
  let nativeAd = require("./WechatNativeAd");
  let boxAd = require("./WechatBoxAd");
  let exports = {};
  
  exports = Object.assign(exports, init);
  exports = Object.assign(exports, loginAndAuthorize);
  exports = Object.assign(exports, bannerAd);
  exports = Object.assign(exports, gameBanner);
  exports = Object.assign(exports, gameIcon);
  exports = Object.assign(exports, videoAd);
  exports = Object.assign(exports, interstitialAd);
  exports = Object.assign(exports, vibrate);
  exports = Object.assign(exports, aldLog);
  exports = Object.assign(exports, shareToFriends);
  exports = Object.assign(exports, misc);
  exports = Object.assign(exports, subdomain);
  exports = Object.assign(exports, nativeAd);
  exports = Object.assign(exports, boxAd);
  module.exports = exports;
}